package cn.dhnep.demo.mapper;


import cn.dhnep.demo.util.Time;
import cn.dhnep.demo.util.tb_Order_Item;

public interface tb_Order_ItemMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(tb_Order_Item record);

    int insertSelective(tb_Order_Item record);

    int selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(tb_Order_Item record);

    int updateByPrimaryKey(tb_Order_Item record);

//  获取收货总数
    Double selectTotalByTimeReceiving(Time time);

//    获取废玻璃重量
    Double selectWasteGlassByTimeReceiving(Time time);
//    获取废金属
    Double selectMetalScrapByTimeReceiving(Time time);
//    废纸张
    Double selectWastePaperByTimeReceiving(Time time);
//    废塑料
    Double selectWastePlasticsByTimeReceiving(Time time);
//    废旧衣服
    Double selectWasteClothesByTimeReceiving(Time time);
//    其他
    Double selectOtherWastesByTimeReceiving(Time time);

    Integer selectWasteHouseholdAppliancesByTimeReceiving(Time time);











    //  获取回收总数
    Double selectTotalByTimeRecovery(Time time);

    //    获取废玻璃重量
    Double selectWasteGlassByTimeRecovery(Time time);
    //    获取废金属
    Double selectMetalScrapByTimeRecovery(Time time);
    //    废纸张
    Double selectWastePaperByTimeRecovery(Time time);
    //    废塑料
    Double selectWastePlasticsByTimeRecovery(Time time);
    //    废旧衣服
    Double selectWasteClothesByTimeRecovery(Time time);
    //    其他
    Double selectOtherWastesByTimeRecovery(Time time);
//废旧家电
    Integer selectWasteHouseholdAppliancesByTimeRecovery(Time time);



}